<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生打分</title>
</head>
<body>
<a href="teacherBase">返回老师页面</a>

<table border="1">
    <tr>
        <th>学生名字</th>
        <th>学生性别</th>
        <th>学生年龄</th>
        <th>学生班级</th>
        <th>科目</th>
        <th>分数</th>
        <th>操作</th>
    </tr>

    {foreach($result as $key=>$value)}
    <tr>
        <td>{$value.name}</td>
        <td>{$value.sex}</td>
        <td>{$value.age}</td>
        <td>{$value.cls_name}</td>
        <td>{$value.c_name}</td>
        <th>{$value.achievement}</th>
        <td> <a href="achievement?id={$value.id}&cls_id={$value.cls_id}&t_id={$value.t_id}&c_id={$value.c_id}">打分</a> </td>
    </tr>
    {/foreach}



</table>
</body>
</html>